Optimal. Leaf size=125 \[ \frac{(e x)^{m+1} (A b-a B) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{b x^2}{a}\right )}{a e (m+1) (b c-a d)}+\frac{(e x)^{m+1} (B c-A d) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )}{c e (m+1) (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.137194, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {584, 364} \[ \frac{(e x)^{m+1} (A b-a B) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{b x^2}{a}\right )}{a e (m+1) (b c-a d)}+\frac{(e x)^{m+1} (B c-A d) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )}{c e (m+1) (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 584
Rule 364
Rubi steps
\begin{align*} \int \frac{(e x)^m \left (A+B x^2\right )}{\left (a+b x^2\right ) \left (c+d x^2\right )} \, dx &=\int \left (\frac{(A b-a B) (e x)^m}{(b c-a d) \left (a+b x^2\right )}+\frac{(B c-A d) (e x)^m}{(b c-a d) \left (c+d x^2\right )}\right ) \, dx\\ &=\frac{(A b-a B) \int \frac{(e x)^m}{a+b x^2} \, dx}{b c-a d}+\frac{(B c-A d) \int \frac{(e x)^m}{c+d x^2} \, dx}{b c-a d}\\ &=\frac{(A b-a B) (e x)^{1+m} \, _2F_1\left (1,\frac{1+m}{2};\frac{3+m}{2};-\frac{b x^2}{a}\right )}{a (b c-a d) e (1+m)}+\frac{(B c-A d) (e x)^{1+m} \, _2F_1\left (1,\frac{1+m}{2};\frac{3+m}{2};-\frac{d x^2}{c}\right )}{c (b c-a d) e (1+m)}\\ \end{align*}
Mathematica [A] time = 0.102449, size = 100, normalized size = 0.8 \[ \frac{x (e x)^m \left ((a B c-A b c) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{b x^2}{a}\right )+a (A d-B c) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )\right )}{a c (m+1) (a d-b c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.055, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( B{x}^{2}+A \right ) \left ( ex \right ) ^{m}}{ \left ( b{x}^{2}+a \right ) \left ( d{x}^{2}+c \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{2} + A\right )} \left (e x\right )^{m}}{{\left (b x^{2} + a\right )}{\left (d x^{2} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B x^{2} + A\right )} \left (e x\right )^{m}}{b d x^{4} +{\left (b c + a d\right )} x^{2} + a c}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e x\right )^{m} \left (A + B x^{2}\right )}{\left (a + b x^{2}\right ) \left (c + d x^{2}\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{2} + A\right )} \left (e x\right )^{m}}{{\left (b x^{2} + a\right )}{\left (d x^{2} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]